package com.exam.service.subject;

import java.io.Serializable;
import java.util.List;

import com.exam.common.vo.ExamSubjectVO;
import com.exam.common.vo.page.PageModel;
import com.exam.entity.ExamSubject;

public interface SubjectService {
	public PageModel<ExamSubjectVO> findByPage();
	
	public Serializable save(ExamSubject entity);	
	public Serializable merge(ExamSubject entity);
	

	public void update(ExamSubject entity);	
	
	public void saveOrUpdate(ExamSubject entity);

	public void delete(ExamSubject entity);	

	public ExamSubject findByKey(Serializable id);

	public List<ExamSubject> findAll();
	
	public ExamSubjectVO findById(Integer id);
}
